ci/make-git-snapshot.sh: fix archive name
authorJonathan Lebon <jonathan@jlebon.com>
Thu, 3 Feb 2022 18:21:54 +0000 (13:21 -0500)
committerJonathan Lebon <jonathan@jlebon.com>
Thu, 3 Feb 2022 18:21:54 +0000 (13:21 -0500)
The archive name is libostree even though the project name is ostree, so
we can't rely on the directory name.

Just hardcode it.

ci/make-git-snapshot.sh

index 67cf14c956e85a6fe0b9e5a1cefc7783246128d4..391af64d1db813d1a16fa380534bb4cbf435491c 100755 (executable)
@@ -5,7 +5,7 @@ TOP=$(git rev-parse --show-toplevel)
 GITREV=$(git rev-parse HEAD)
 gitdescribe=$(git describe --always --tags $GITREV)
 version=$(echo "$gitdescribe" | sed -e 's,-,\.,g' -e 's,^v,,')
-name=$(basename $(pwd))
+name=libostree
 PKG_VER="${name}-${version}"
 
 TARFILE=${PKG_VER}.tar